			<div class="bottom_1">
				<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="statistics">
						<? include "librarys/incs/counter2.php";
							$t=new tin();
						?>
                        </td>
                        <?
							$sanpham_root = $t->get_by_thutu("sanpham_root",-1,1," AND bottom=1");
							$flag=0;
							while($row_root=mysql_fetch_assoc($sanpham_root)){
								$idmenu=$row_root['idmenu'];
								$menu=$t->get_by_thutu("sanpham_menu",$idmenu);
								$row_menu=mysql_fetch_assoc($menu);
								if($row_menu['ten_'.$lang]=='') $row_menu['ten_'.$lang]='-';
						?>
						<td <? if ($flag==0) { echo "class='top'"; $flag=1; } ?>><label><a href="<?=$rooturl?><?=$list['13']['alias'];?>/<?=convert($row_menu['ten_'.$lang])?>/<?=convert($row_root['ten_'.$lang])?>-<?=$row_root['id']?>.html"><?php echo $row_root['ten_'.$lang]; ?></a></label>
						<div>
							<ul>
                            	<?
									$sanpham_chungloai = $t->get_by_thutu("sanpham_chungloai",-1,1," AND idroot=".$row_root['id']);
									while($row_cl=mysql_fetch_assoc($sanpham_chungloai)){
								?>
								<li>
									<a href="<?=$rooturl?><?=$list['12']['alias'];?>/<?=convert($row_menu['ten_'.$lang])?>/<?=convert($row_root['ten_'.$lang])?>/<?=convert($row_cl['ten_'.$lang])?>-<?=$row_cl['id']?>.html"><?=$row_cl['ten_'.$lang]; ?></a>
								</li>
                                <?
									}
								?>
							</ul>
						</div>
                        </td>
                        <?
							}
						?>
					</tr>
				</table>
			</div>